UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Files in cron script directories must have mode 0700 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-29289 GEN003080-2 SV-45599r2_rule Medium
Description
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2016-12-20

Details

Check Text ( C-42960r1_chk )
Check the mode of scripts in cron job directories.

ls -lL /etc/cron.{d,daily,hourly,monthly,weekly}
If any cron script has a mode more permissive than 0700, this is a finding.
Fix Text (F-38997r3_fix)
Change the mode of the cron scripts.
# chmod
go-rwx /etc/cron.d/* /etc/cron.daily/* /etc/cron.hourly/*
/etc/cron.monthly/* /etc/cron.weekly/*